#include<iostream>

using namespace std;

int main()

{
    string palabra;

    cin>>palabra;

    cout<<endl<<palabra.length();

    return 1;
}
